<?php 
session_start();
require_once("../settings.php");
require_once INCLUDE_PATH."config.php";
$commObj = new common;
if($_POST['func'] == "showmodel")
{
	$ids = sprintf("%d", $_POST['id']);	
	echo $commObj->DropDown('ddModel','tbl_models','model_id','model_name','-1',"status = '1' and maker_id = '".$ids."'",'model_name asc',"style=\"width:249px;\"");die();
}
?>